package routers

import (
	"beegodemo03/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/boysList", &controllers.BoysController{}, "get:List")
	beego.Router("/boy/?:id", &controllers.BoysController{}, "get:GetById")
}
